package com.hspedu.homework.homework8;

public class Homework08 {
    public static void main(String[] args) {
      /*  BankAccount b1 = new BankAccount(200);
        b1.deposit(100);
        b1.withdraw(100);*/

      /*  CheckingAccount checkingAccount = new CheckingAccount(100);
        checkingAccount.deposit(100);
        checkingAccount.withdraw(100);*/
        SavingsAccount savingsAccount = new SavingsAccount(100,2,3,0);

        savingsAccount.earnMonthlyInterest();
        savingsAccount.deposit(100);
        savingsAccount.deposit(100);
        savingsAccount.withdraw(100);
    }
}

